﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Fotobanka
{
    /// <summary>
    /// Trida pro nastaveni pristupovych prav uzivatelu ke strance
    /// </summary>
    public class PageAccesInfo
    {
        private string page;
        private bool adminAccess;
        private bool spravceAccess;
        private bool uzivatelAcces;

        public string Page
        {
            get {
                return page;
            }
            set {
                page = value;
            }
        }
    
        public bool AdminAccess
        {
            get {
                return adminAccess;
            }
            set {
                adminAccess = value;
            }
        }

        public bool SpravceAccess
        {
            get {
                return spravceAccess;
            }
            set {
                spravceAccess = value;
            }
        }
    
        public bool UzivatelAccess
        {
            get {
                return uzivatelAcces;
            }
            set {
                uzivatelAcces = value;
            }
        }
    
        public PageAccesInfo(string page, bool adminAccess, bool spravceAccess, bool uzivatelAcces)
        {
            this.Page = page;
            this.AdminAccess = adminAccess;
            this.SpravceAccess = spravceAccess;
            this.UzivatelAccess = uzivatelAcces;
        }
    }
}
